#!/usr/bin/env bash

wget http://nginx.org/download/nginx-1.11.6.tar.gz
tar -zxf nginx-1.11.6.tar.gz
cd nginx-1.11.6
./configure
make install

# 启动可以通过80端口访问
/usr/local/nginx/sbin/nginx